<?php /* Smarty version Smarty-3.0.8, created on 2011-12-01 12:54:11
         compiled from "application/views/admin_type.html" */ ?>
<?php /*%%SmartyHeaderCode:13099860434ed76ae3dc48e8-37468082%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fc9b56e5e3ccd852e37ae63e1a59ad86bc483f30' => 
    array (
      0 => 'application/views/admin_type.html',
      1 => 1322740281,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13099860434ed76ae3dc48e8-37468082',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $_smarty_tpl->getVariable('BASE_URL')->value;?>
style/admin/reset.css" rel="stylesheet"
	type="text/css" />
<link href="<?php echo $_smarty_tpl->getVariable('BASE_URL')->value;?>
style/admin/Public.css" rel="stylesheet"
	type="text/css" />
<link href="<?php echo $_smarty_tpl->getVariable('BASE_URL')->value;?>
style/admin/admin.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('BASE_URL')->value;?>
style/admin/jquery.js"></script>

</head>

<body style="background: #fff" onResize="Remind_box()"
	onload="Remind_box()">


	<div class="Remind" id="Remind_box">
		<table width="200" border="1">
			<tr>
				<td><img src="images/icon1.jpg" align="absmiddle" /></td>
				<td class="Pad_10">提交订单成功!</td>
			</tr>
		</table>
	</div>


	<script>

//提示框位置
function Remind_box(){
	document.getElementById('Remind_box').style.marginTop = (document.documentElement.clientHeight - 72)/2 + 'px';
	var frmBody = parent.document.getElementById('frame-body');
	if(frmBody.cols=='200,10,*'){
		document.getElementById('Remind_box').style.marginLeft = '-150px';
	}
	else{
		document.getElementById('Remind_box').style.marginLeft = '-100px';
	}
}

//提示框显示
function show_Remind(){
	$('#Remind_box').fadeIn();
}

//提示框延时关闭
function Remind_box_close(){
	$('#Remind_box').fadeOut();
}
function Remind_box_time(){
	setTimeout('Remind_box_close()',2000);    //2秒自动关闭
}

</script>

	<div>
		<div class="right_title">
			<div class="right_tag1"></div>
			<div class="right_tag2">订单列表</div>
			<div class="right_tag3"></div>
		</div>






		<script language="javascript">
//动态添加节点
function openNewDiv(n) {
	var newDiv = document.createElement("div");
	newDiv.style.styleFloat = "left";
	newDiv.style.cssFloat = "left";
	newDiv.style.width = "80px";
	newDiv.style.height = "26px";
	newDiv.style.textAlign = "center";
	newDiv.id = "zj_id";
	newDiv.style.background = "url(images/zengjia_title.jpg)";
	newDiv.innerText = n ;
	document.getElementById('right_title').appendChild(newDiv);
}
</script>







		<div class="right_text">
			<form action="<?php echo $_smarty_tpl->getVariable('SITE_URL')->value;?>
/admin_operat/type_write" method="POST">
				<br /> 用户名<input type="text" name="type_name" id="username" /> <input
					type="submit" name="button" id="button" value="提交"
					onclick="show_Remind(); Remind_box_time()" />
			</form>
		</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			class="right_table">
			<tr class="table_title">
				<td>id</td>
				<td>名称</td>

				<td>设置</td>
			</tr>

			<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['name']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['name'] = 'name';
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('type')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration'] = 1;
            $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['total'];
            $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['name']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['name']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['name']['total']);
?>
			<tr>
				<td><?php echo $_smarty_tpl->getVariable('type')->value[$_smarty_tpl->getVariable('smarty')->value['section']['name']['index']]->id;?>
</td>
				<td><?php echo $_smarty_tpl->getVariable('type')->value[$_smarty_tpl->getVariable('smarty')->value['section']['name']['index']]->type_name;?>
</td>
				<td>设置</td>
			</tr>
			<?php endfor; endif; ?>
		</table>
	</div>
</body>
</html>
